package com.ddone.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ddone.model.auth.SysUser;
import com.ddone.model.vo.SysUserQueryVo;

import java.util.List;
import java.util.Map;

/**
 * @author ddone
 * @date 2024/3/29-10:21
 */
public interface SysUserService extends IService<SysUser> {
    Page<SysUser> queryPage(Page<SysUser> pageParam, SysUserQueryVo vo);

    void updateStatus(Long id, Integer status);

    SysUser getByUsername(String username);

    Map<String, Object> getUserInfoByUserId(Long userId);

    List<String> getUserBtnPermsByUserId(Long userId);
}
